namespace GEM.Application.Contracts.AI;

/// <summary>
/// AI服务接口
/// </summary>
public interface IAIService
{
    /// <summary>
    /// 发送消息给AI
    /// </summary>
    /// <param name="message">消息</param>
    /// <returns>AI响应</returns>
    Task<dynamic> ChatAsync(string message);

    /// <summary>
    /// 发送消息给AI
    /// </summary>
    /// <param name="message">消息</param>
    /// <returns>AI响应</returns>
    IAsyncEnumerable<string> ChatStreamAsync(string message);
}